package com.ngkj.zmfptback.sys.bean;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;


/**
 * 机构
 */

public class OrganizationEntity {

  private Long id;
  private String orgName;
  private String createTime;
  private Long parentId;

  public OrganizationEntity() {
  }

  public OrganizationEntity(Long id, String orgName, String createTime, Long parentId) {
    this.id = id;
    this.orgName = orgName;
    this.createTime = createTime;
    this.parentId = parentId;
  }


  public Long getId() {
    return id;
  }

  public void setId(Long id) {
    this.id = id;
  }

  public String getOrgName() {
    return orgName;
  }

  public void setOrgName(String orgName) {
    this.orgName = orgName;
  }

  public String getCreateTime() {
    return createTime;
  }

  public void setCreateTime(String createTime) {
    this.createTime = createTime;
  }

  public Long getParentId() {
    return parentId;
  }

  public void setParentId(Long parentId) {
    this.parentId = parentId;
  }

  @Override
  public String toString() {
    return "OrganizationEntity{" +
            "id=" + id +
            ", orgName='" + orgName + '\'' +
            ", createTime='" + createTime + '\'' +
            ", parentId=" + parentId +
            '}';
  }
}
